package cn.mesmile.security.service;

import cn.mesmile.security.domain.Employee;
import cn.mesmile.security.dto.EmployeeInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.security.core.userdetails.UserDetailsService;

/**
 * @author zb
 * @date 2020/4/5 16:04
 * @Description:
 */
public interface IEmployeeService extends IService<Employee>, UserDetailsService {

    /**
     *  通过用户名获得
     * @param username
     * @return
     */
    EmployeeInfo getEmpByUsername(String username);

}
